package com.hzaupj.znz.db;

import com.lidroid.xutils.db.annotation.Foreign;
import com.lidroid.xutils.db.annotation.Table;

/**
 * Created by Administrator on 2014/8/13.
 */
@Table(name = "product")
public class Product {

    @Foreign(column = "headId", foreign = "id")
    private Head head;
    @Foreign(column = "footId", foreign = "id")
    private Foot foot;
    @Foreign(column = "sideId", foreign = "id")
    private Side side;
    @Foreign(column = "centerId", foreign = "id")
    private Center center;

    public Head getHead() {
        return head;
    }

    public void setHead(Head head) {
        this.head = head;
    }

    public Foot getFoot() {
        return foot;
    }

    public void setFoot(Foot foot) {
        this.foot = foot;
    }

    public Side getSide() {
        return side;
    }

    public void setSide(Side side) {
        this.side = side;
    }

    public Center getCenter() {
        return center;
    }

    public void setCenter(Center center) {
        this.center = center;
    }
}
